package top.sdwu_top.kbase.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.sdwu_top.kbase.entity.KbaseAuthRole;
import com.baomidou.mybatisplus.extension.service.IService;
import top.sdwu_top.kbase.entity.KbaseAuthUser;
import top.sdwu_top.kbase.vo.KbaseAuthRoleVo;

import java.util.List;


/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author zhipeng.duan@nvr-china.com
 * @since 2020-02-20
 */
public interface IKbaseAuthRoleService extends IService<KbaseAuthRole> {
    boolean delete(String id);

    Page<KbaseAuthRole> page(KbaseAuthRoleVo authRoleVo);

    List<KbaseAuthRole> getRoleList(KbaseAuthUser user);
}
